/* 
 * Enterprise Library Extensions - DI + ORM.
 * Copyright (C) 2006
 *
 * GNU General Public License
 *
 * This program is free software; you can redistribute 
 * it and/or modify it under the terms of the GNU General Public License 
 * as published by the Free Software Foundation; either version 2 of the 
 * License, or (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful, but 
 * WITHOUT ANY WARRANTY; without even the implied warranty of 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 
 * See the GNU General Public License for more details.
 */
using System;

namespace ELE.EnterpriseLibrary.Naming
{
	/// <summary>
  /// This exception is thrown when no initial context implementation can be created. The policy of how an initial context implementation is selected is described in the documentation of the InitialContext class. 
  /// <br/><br/>This exception can be thrown during any interaction with the InitialContext, not only when the InitialContext is constructed. For example, the implementation of the initial context might lazily retrieve the context only when actual methods are invoked on it. The application should not have any dependency on when the existence of an initial context is determined. 
  /// <br/><br/>  Synchronization and serialization issues that apply to NamingException apply directly here. 
	/// </summary>
	public class NoInitialContextException : NamingException
	{
    /// <summary>
    /// Constructs an instance of NoInitialContextException. All fields are initialized to null.
    /// </summary>
    public NoInitialContextException():base()
    {
    }
    /// <summary>
    /// Constructs an instance of NoInitialContextException with an explanation. All other fields are initialized to null.
    /// </summary>
    /// <param name="explanation">Possibly null additional detail about this exception.</param>
    public NoInitialContextException(String explanation):base(explanation)
    {
    }
	}
}
